package com.zhima.enums;

/**
 * @author : 芝麻
 * @date : 2023-09-05 14:23
 **/
public enum TestCaseState {
    /**
     * 正在测评
     */
    JUDGING("Judging"),
    /**
     * 系统异常
     */
    SYSTEM_ERROR("System Error"),
    /**
     * 内存溢出
     */
    MEMORY_LIMIT_EXCEEDED("Memory Limit Exceeded"),
    /**
     * 时间溢出
     */
    TIME_LIMIT_EXCEEDED("Time Limit Exceeded"),
    /**
     * AC
     */
    ACCEPTED("Accepted"),
    /**
     * 答案错误
     */
    WRONG_ANSWER("Wrong Answer"),
    /**
     * 运行时异常
     */
    RUNTIME_ERROR("Runtime Error"),
    ;
    private final String state;

    TestCaseState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
